import request from '@/utils/request'
import { commercialApiUrl } from '../config'
//商务策划书列表
export function stationList (data){
    return request({
        url: commercialApiUrl + '/merchant/responsibility-book/query',
        method: 'post',
        data: data
    })
}
// 商务策划书列表删除
export function eliminate (params){
    return request({
        url: commercialApiUrl + `/merchant/responsibility-book/del`,
        method: 'post',
        params
    })
}
// 商务策划书详细信息
export function detailed (id){
    return request({
        url: commercialApiUrl + `/merchant/responsibility-detailed/${id}`,
        method: 'get',
    })
}
//商务策划书基本信息编辑
export function rewrite (data){
    return request({
        url: commercialApiUrl + `/merchant/responsibility-book/update`,
        method: 'post',
		data:data
    })
}
//商务策划书基本信息提交保存
export function recordRow (data){
    return request({
        url: commercialApiUrl + `/merchant/responsibility-book`,
        method: 'post',
		data:data
    })
}
//查看当前项目有没有重要或者一般岗位
export function merchantFind (data){
    return request({
        url: commercialApiUrl + `/merchant/find`,
        method: 'post',
		data:data
    })
}
//获取岗位责任书审批状态统计
export function getMerchantCount (data){
    return request({
        url: commercialApiUrl + `/merchant/responsibility-book/query/count`,
        method: 'post',
		data:data
    })
}